package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.TrainPlanItem;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface ITrainPlanItemService {
    /**
     * 增
     */
    void save(TrainPlanItem entity);

    /**
     * 删
     */
    void delete(Long id);

    /**
     * 改
     */
    void update(TrainPlanItem entity);

    /**
     * 查单个
     */
    TrainPlanItem getById(Long id);

    /**
     * 查所有
     */
    List<TrainPlanItem> listAll();

    /**
     * 分页查询
     */
    PageResult queryPage(QueryObject qo);

}
